<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* a:link{background-color: black; color: whitesmoke;}
        a:visited{background-color: black; color: whitesmoke;}
        a:hover{background-color: skyblue;}
        a:active{background-color: skyblue;} */
        a{background-color: black; color: whitesmoke;}
        a:hover{background-color: skyblue;}
    </style>
</head>

<body>
    <a href="" style="background-color:red;">首页</a>
    <a href="">国内</a>
    <a href="">国际</a>
    <a href="">军事</a>
    <a href="">财经</a>
</body>

</html>